<!DOCTYPE html>
<html lang="zh-cmn-Hans">
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="ie=edge" />
		<title>交易概览-鹿程智慧油站商户平台</title>
		<meta name="description" content="鹿程科技是提供加油站互联网化零管系统、营销及支付和大数据分析运营服务的行业领先科技公司。鹿程科技充分了解加油站行业的需求和新兴互联网的发展,依靠业内最先进的科技和标准化的运营,持续帮助油站业务发展创造价值。"/>
		<meta name="keywords" content="智慧油站,鹿程,鹿程智慧油站,鹿程智慧油站微信支付,加油站微信支付,加油站营销管理"/>
		<link rel="icon" href="https://static.zhihuiyouzhan.com.cn/static/styles/admin/img/title.ico" type="image/x-icon">
		<link rel="shortcut icon" href="https://static.zhihuiyouzhan.com.cn/static/styles/admin/img/title.ico" type="image/x-icon">
		<link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
		<link rel="stylesheet" href="../layui/css/layui.css" />
		<link rel="stylesheet" href="../css/style.css" />
	</head>
<body>
	<section class="section-right">
		<!--deer-tit-->
		<div class="deer-tit">
			<h3>一键加油</h3>
			<h4>概览</h4>
		</div>
		<!--/deer-tit-->
		<!--deer-content-->
		<div class="deer-content">
			<div class="gas-border">
				<nav class="gas-nav">
					<dl day="1">今天</dl>
					<dl day="7">最近7天</dl>
					<dl day="30">最近30天</dl>
					<dl><input name="search_time" class="gas-text" type="text" placeholder="查询时间" id="search_time" value="" lay-key="1"></dl>
				</nav>
				<div class="gas-number">
					<dl>
						<dt>加油升数</dt>
						<dd>0</dd>
					</dl>
					<dl>
						<dt>加油笔数</dt>
						<dd>0</dd>
					</dl>
					<dl>
						<dt>成交金额</dt>
						<dd>0</dd>
					</dl>
				</div>
				<div class="gas-echarts" id="main2"></div>
				<!--折线图-->
				<div class="gas-echarts" id="main"></div>
			</div>
		</div>
		<!--/deer-content-->
	</section>
	<!--js-->
		<aside>
			<script type="text/javascript" src="../layui/layui.js" ></script>
			<script type="text/javascript" src="../js/echarts.min.js" ></script>
			<script type="text/javascript">
				layui.use(['laydate','jquery'],function(){
					var $=layui.jquery
					var laydate=layui.laydate;
						laydate.render({
				        elem: '#search_time', //指定元素
				        range: '至',
				    });
				    //gas-nav样式切换
				    $('.gas-nav dl').eq(0).addClass('active').siblings().removeClass('active')
				    $('.gas-nav dl').bind('click',function(){
				    	$(this).addClass('active').siblings().removeClass('active')
				    })
				    //gas-number
				    $('.gas-number dl').eq(0).addClass('active').siblings().removeClass('active');
				     $('.gas-number dl').bind('click',function(){
				     	$(this).addClass('active').siblings().removeClass('active');
				    })
				    
					
				})
				 var Chart = echarts.init(document.getElementById('main2'));
		    
			    option2 = {
				    color: ['#3398DB'],
				    tooltip : {
				        trigger: 'axis',
				        axisPointer : {            // 坐标轴指示器，坐标轴触发有效
				            type : 'shadow'        // 默认为直线，可选为：'line' | 'shadow'
				        }
				    },
			    grid: {
			        left: '3%',
			        right: '4%',
			        bottom: '3%',
			        containLabel: true
			    },
			    xAxis : [
			        {
			            type : 'category',
			            data : ["-50","0","90","92","95","97","98"],
			            axisTick: {
			                alignWithLabel: true
			            }
			        }
			    ],
			    yAxis : [
			        {
			            type : 'value'
			        }
			    ],
			    series : [
			        {
			            name:'升数',
			            type:'bar',
			            barWidth: '60%',
			            data:[0,0,0,0,0,0,0]		        }
			    ]
			};
			
		     Chart.setOption(option2);
			//eChart配置 折线图
			var myChart = echarts.init(document.getElementById('main'));
			option = {
			    title: {
			        text: '',
			        left:'2%'
			    },
			    tooltip: {
			        trigger: 'axis'
			    },
			    legend: {
			        data:["-50#","0#","90#","92#","95#","97#","98#"]		    },
			    grid: {
			        left: '3%',
			        right: '3%',
			        bottom: '3%',
			        containLabel: true
			    },
			    toolbox: {
			    	left: '95%',
			        feature: {
			            saveAsImage: {}
			        }
			    },
			    xAxis: {
			        type: 'category',
			        boundaryGap: false,
			        data: ["2018-02-02"]		    },
			    yAxis: {
			        type: 'value'
			    },
			    series: [{"stack":"\u603b\u91cf","type":"line","name":"-50#","data":[0]},{"stack":"\u603b\u91cf","type":"line","name":"0#","data":[0]},{"stack":"\u603b\u91cf","type":"line","name":"90#","data":[0]},{"stack":"\u603b\u91cf","type":"line","name":"92#","data":[0]},{"stack":"\u603b\u91cf","type":"line","name":"95#","data":[0]},{"stack":"\u603b\u91cf","type":"line","name":"97#","data":[0]},{"stack":"\u603b\u91cf","type":"line","name":"98#","data":[0]}]		};
			// 使用刚指定的配置项和数据显示图表。
	
	        myChart.setOption(option);
			</script>
			
		</aside>
		<!--/js-->
	
	
	
	
	
	
	
	
	
	
</body>
</html>